﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace Sherwood.Content
{
    public interface IClientRepository
    {
        IEnumerable<IClient> All { get; }

        /// <exception cref="ArgumentException">Client does not exist</exception>
        IClient this[string id]{ get;}

        bool TryGetById(string id, out IClient client);
    }
}